package Properties;


import java.util.Locale;
import java.util.ResourceBundle;


/**
 * BundleTool
 * @author D.Romain
 * @author O.Riad
 */
public class BundleTool {

    private static ResourceBundle bundle; //BundleTool pour récupérer les messages

    public static ResourceBundle getBundle() {
        return bundle;
    }

    public static void setBundle(Locale str){
        bundle = ResourceBundle.getBundle("Properties.messages", str);
    }

}
